<!DOCTYPE HTML>
<html>
<head>
    <title><%=title%></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <link rel="stylesheet" type="text/css" href="../lib/bootstrap/dist/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="../css/common.css">
    <link rel="stylesheet" type="text/css" href="../css/system/login.css">
</head>
<body ng-app="webapp">
    <div class="container" ng-controller="LoginController">
        <div class="mainWarpper">
            <div class="loginBox">
                <div class="row">
                    <div class='col-sm-12'>
                        <span class='lg-bq'>用户登录</span>
                    </div>
                </div>
                <div class='row'>
                    <div class='col-sm-12'>
                        <div class="input-group input-group-lg">
                          <span class="input-group-addon" id="sizing-addon1"><i class="glyphicon glyphicon-user" aria-hidden="true"></i></span>
                          <input type="text" class="form-control" placeholder="输入用户名" aria-describedby="sizing-addon1" ng-model="user.userName">
                        </div>
                        <div class="input-group input-group-lg mgt10">
                          <span class="input-group-addon" id="sizing-addon1"><i class="glyphicon glyphicon-lock" aria-hidden="true"></i></span>
                          <input type="password" class="form-control" placeholder="输入密码" aria-describedby="sizing-addon1" ng-model="user.password">
                        </div>
                        <button type="button" class="btn btn-primary mgt10 lg-btn" ng-click="subLogin()">立即登录</button>
                        <span class="help-inline text-danger" ng-bind="subErr"></span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
<script type="text/javascript" src="../lib/angular/angular.js"></script>
<script type="text/javascript" src="../webapp.js"></script>
<script type="text/javascript" src="../services/login.client.service.js"></script>
<script type="text/javascript" src="../controllers/login.client.controller.js"></script>